/*
Author: yaojianming
Date: 2012/07/10
*/

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Exercise.h"

/*void perm(char* list, int i, int n)
{
	if (i == n) {
		for(int j=0; j<=n; ++j) {
			printf("%c ", list[j]);
		}
		printf("\n");
	} else {
		for(int j=i; j<=n; ++j) {
			Sort::Swap(list[i], list[j]);
			perm(list, i+1, n);
			Sort::Swap(list[j], list[i]);
		}	
	}			
}*/

/*void test_perm()
{
	char buf[] = "abc";
	perm(buf, 0, strlen(buf)-1);	
}

void test_hornor()
{
	int list[] = {1, 2, 3, 4};
	int x = 2;
	int total = hornor(list, sizeof(list)/sizeof(int)-1, x);
	printf("%d\n", total);	
}*/

int main()
{
	Exercise obj;
	obj.Hanoi(3, 'A', 'B', 'C');

	return 0;
}
